Skip to content

Add explicit permissions to GitHub workflows - #13

Merged
labkey-jeckels merged 1 commit into
developfrom
fb_workflow_permissions
Nov 25, 2026
Merged

labkey-jeckels merged 1 commit into
developfrom
fb_workflow_permissions

Conversation

@labkey-jeckels

@labkey-jeckels labkey-jeckels commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Limit each workflow's GITHUB_TOKEN to the access it actually uses, since this repo's default token is write-scoped. Matches LabKey/server#1197 and clears the open CodeQL missing-workflow-permissions alerts.

Related Pull Requests

Changes

  • PR validation gets only pull-request write access
  • Lint workflows get read-only access

@labkey-jeckels
labkey-jeckels merged commit 709154d into develop Nov 25, 2026
6 checks passed
@labkey-jeckels
labkey-jeckels deleted the fb_workflow_permissions branch November 25, 2026 18:43
labkey-jeckels added a commit to LabKey/gitHubActions that referenced this pull request Nov 25, 2026
## Rationale
Limit each workflow's `GITHUB_TOKEN` to the access it actually uses,
since this repo's default token is write-scoped. Matches
LabKey/server#1197 and clears the open CodeQL
missing-workflow-permissions alerts.

## Related Pull Requests
- LabKey/Dockerfile#215
- LabKey/docker-rstudio#13
- LabKey/install-script#82

## Changes
- Lint workflows get read-only access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants